#include "junix.h"
#include <string.h>
using namespace std;

int main(int argc, char **argv)
{
	wchar_t str[16] = L"ABC";
	//printf("%d", strlen((char*)str) );
	
	cout<<"size of wchar:"<<sizeof(wchar_t)<<endl;
	char *p = (char*)str;
	int i=0;
	while (i<10) {
		printf("  %c,%d\n",*p++,i++);
	}

	wchar_t wstr[]=L"ABCD";
	cout<<"array size:"<<sizeof(wstr)<<endl;


//	wchar_t wstr2[]=(wchar_t*)"ABCD";
//	cout<<"array size:"<<sizeof(wstr2)<<endl;

}
